﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ElectronicsMarket.Service.Models;
using System.ServiceModel;

namespace ElectronicsMarket.Service.IService
{
    [ServiceContract]
    interface IStaffService
    {
        [OperationContract]
        List<STAFF> getAllStaff();

        [OperationContract]
        void insertStaff(STAFF staff);

        [OperationContract]
        void deleteStaff(STAFF staff);

        [OperationContract]
        void updateStaff(STAFF staff);

        [OperationContract]
        STAFF getStaffByName(string name,string pass);
        [OperationContract]
        long getLastStaffId();
        
    }
}
